-
Notifications
You must be signed in to change notification settings - Fork 2
feat(core): add c3 plus #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
3e5e338 to
9554b92
Compare
LCOV of commit
|
5c5d557 to
2bd1349
Compare
5e09704 to
24c419a
Compare
34c32a8 to
9a3e432
Compare
|
Missing end line |
cff1020 to
7fc02ca
Compare
f60380e to
34dc923
Compare
2a68a2f to
ab56187
Compare
|
We might need some docs here. |
|
If I'm not wrong, here, when it is not the last QP solve, we'll add augmented costs for the whole vector z, right? Note that in C3+, we don't have the augmented terms for states and inputs. I think it might affect the results of C3+. |
|
We can add some comments here about why we need to scale up the G in the final solve. |
Meow404
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Meow404 made 4 comments.
Reviewable status: 0 of 35 files reviewed, 4 unresolved discussions (waiting on @xuanhien070594).
bindings/pyc3/c3_multibody_py.cc line 95 at r1 (raw file):
Previously, xuanhien070594 (Hien Bui) wrote…
Missing end line
Done
core/c3.h line 296 at r3 (raw file):
Previously, xuanhien070594 (Hien Bui) wrote…
We might need some docs here.
Done
core/c3_plus.cc line 109 at r3 (raw file):
Previously, xuanhien070594 (Hien Bui) wrote…
We can add some comments here about why we need to scale up the G in the final solve.
Here is an explanation I took from our paper "This encourages some contact forces to closely match their values from the previous projection step, which satisfies the complementarity constraints and results in more dynamically feasible forces. While this could theoretically be applied to all contacts, in practice it is too restrictive and may prevent the QP solver from finding a solution."
Done
core/c3_plus.cc line 131 at r3 (raw file):
Previously, xuanhien070594 (Hien Bui) wrote…
If I'm not wrong, here, when it is not the last QP solve, we'll add augmented costs for the whole vector z, right? Note that in C3+, we don't have the augmented terms for states and inputs. I think it might affect the results of C3+.
In the else statement, you can explicitly add costs only for lambda and eta.
Done
|
gentle ping @xuanhien070594 |
4d79e9a to
af38053
Compare
This change is